package com.wanxi.dangdang.model.vo;

import com.wanxi.dangdang.model.pojo.Order;
import com.wanxi.dangdang.model.pojo.OrderDetails;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author: 寇文宝
 * @Description:
 * @Date: Created in 2021/8/30
 * @Version: 1.0
 */

@Data
@ApiModel(value = "订单po实体类", description = "订单实体类（所有必填字段均需要适当校验）")
public class OrderPo extends Order {
    @ApiModelProperty(value = "主图")
    private String centerPicture;

    @ApiModelProperty(value = "订单详情表（订单生成页面必填）")
    private List<OrderDetails> orderDetailsList;
}
